﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200133D RID: 4925
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeExpeditionRewardScRsp : IMessage<TakeExpeditionRewardScRsp>, IMessage, IEquatable<TakeExpeditionRewardScRsp>, IDeepCloneable<TakeExpeditionRewardScRsp>, IBufferMessage
	{
		// Token: 0x17003E1F RID: 15903
		// (get) Token: 0x0600DC7B RID: 56443 RVA: 0x0024E4E7 File Offset: 0x0024C6E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeExpeditionRewardScRsp> Parser
		{
			get
			{
				return TakeExpeditionRewardScRsp._parser;
			}
		}

		// Token: 0x17003E20 RID: 15904
		// (get) Token: 0x0600DC7C RID: 56444 RVA: 0x0024E4EE File Offset: 0x0024C6EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeExpeditionRewardScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003E21 RID: 15905
		// (get) Token: 0x0600DC7D RID: 56445 RVA: 0x0024E500 File Offset: 0x0024C700
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeExpeditionRewardScRsp.Descriptor;
			}
		}

		// Token: 0x0600DC7E RID: 56446 RVA: 0x0024E507 File Offset: 0x0024C707
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeExpeditionRewardScRsp()
		{
		}

		// Token: 0x0600DC7F RID: 56447 RVA: 0x0024E510 File Offset: 0x0024C710
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeExpeditionRewardScRsp(TakeExpeditionRewardScRsp other) : this()
		{
			this.reward_ = ((other.reward_ != null) ? other.reward_.Clone() : null);
			this.hAJEJEFLKJD_ = ((other.hAJEJEFLKJD_ != null) ? other.hAJEJEFLKJD_.Clone() : null);
			this.nPNHJLGFMIM_ = other.nPNHJLGFMIM_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DC80 RID: 56448 RVA: 0x0024E584 File Offset: 0x0024C784
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeExpeditionRewardScRsp Clone()
		{
			return new TakeExpeditionRewardScRsp(this);
		}

		// Token: 0x17003E22 RID: 15906
		// (get) Token: 0x0600DC81 RID: 56449 RVA: 0x0024E58C File Offset: 0x0024C78C
		// (set) Token: 0x0600DC82 RID: 56450 RVA: 0x0024E594 File Offset: 0x0024C794
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList Reward
		{
			get
			{
				return this.reward_;
			}
			set
			{
				this.reward_ = value;
			}
		}

		// Token: 0x17003E23 RID: 15907
		// (get) Token: 0x0600DC83 RID: 56451 RVA: 0x0024E59D File Offset: 0x0024C79D
		// (set) Token: 0x0600DC84 RID: 56452 RVA: 0x0024E5A5 File Offset: 0x0024C7A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList HAJEJEFLKJD
		{
			get
			{
				return this.hAJEJEFLKJD_;
			}
			set
			{
				this.hAJEJEFLKJD_ = value;
			}
		}

		// Token: 0x17003E24 RID: 15908
		// (get) Token: 0x0600DC85 RID: 56453 RVA: 0x0024E5AE File Offset: 0x0024C7AE
		// (set) Token: 0x0600DC86 RID: 56454 RVA: 0x0024E5B6 File Offset: 0x0024C7B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NPNHJLGFMIM
		{
			get
			{
				return this.nPNHJLGFMIM_;
			}
			set
			{
				this.nPNHJLGFMIM_ = value;
			}
		}

		// Token: 0x17003E25 RID: 15909
		// (get) Token: 0x0600DC87 RID: 56455 RVA: 0x0024E5BF File Offset: 0x0024C7BF
		// (set) Token: 0x0600DC88 RID: 56456 RVA: 0x0024E5C7 File Offset: 0x0024C7C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600DC89 RID: 56457 RVA: 0x0024E5D0 File Offset: 0x0024C7D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeExpeditionRewardScRsp);
		}

		// Token: 0x0600DC8A RID: 56458 RVA: 0x0024E5E0 File Offset: 0x0024C7E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeExpeditionRewardScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.Reward, other.Reward) && object.Equals(this.HAJEJEFLKJD, other.HAJEJEFLKJD) && this.NPNHJLGFMIM == other.NPNHJLGFMIM && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DC8B RID: 56459 RVA: 0x0024E654 File Offset: 0x0024C854
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.reward_ != null)
			{
				num ^= this.Reward.GetHashCode();
			}
			if (this.hAJEJEFLKJD_ != null)
			{
				num ^= this.HAJEJEFLKJD.GetHashCode();
			}
			if (this.NPNHJLGFMIM != 0U)
			{
				num ^= this.NPNHJLGFMIM.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DC8C RID: 56460 RVA: 0x0024E6D8 File Offset: 0x0024C8D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DC8D RID: 56461 RVA: 0x0024E6E0 File Offset: 0x0024C8E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DC8E RID: 56462 RVA: 0x0024E6EC File Offset: 0x0024C8EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.hAJEJEFLKJD_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.HAJEJEFLKJD);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this.reward_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.Reward);
			}
			if (this.NPNHJLGFMIM != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.NPNHJLGFMIM);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DC8F RID: 56463 RVA: 0x0024E780 File Offset: 0x0024C980
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.reward_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Reward);
			}
			if (this.hAJEJEFLKJD_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.HAJEJEFLKJD);
			}
			if (this.NPNHJLGFMIM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NPNHJLGFMIM);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DC90 RID: 56464 RVA: 0x0024E808 File Offset: 0x0024CA08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeExpeditionRewardScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.reward_ != null)
			{
				if (this.reward_ == null)
				{
					this.Reward = new ItemList();
				}
				this.Reward.MergeFrom(other.Reward);
			}
			if (other.hAJEJEFLKJD_ != null)
			{
				if (this.hAJEJEFLKJD_ == null)
				{
					this.HAJEJEFLKJD = new ItemList();
				}
				this.HAJEJEFLKJD.MergeFrom(other.HAJEJEFLKJD);
			}
			if (other.NPNHJLGFMIM != 0U)
			{
				this.NPNHJLGFMIM = other.NPNHJLGFMIM;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DC91 RID: 56465 RVA: 0x0024E8B0 File Offset: 0x0024CAB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DC92 RID: 56466 RVA: 0x0024E8BC File Offset: 0x0024CABC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num == 34U)
					{
						if (this.hAJEJEFLKJD_ == null)
						{
							this.HAJEJEFLKJD = new ItemList();
						}
						input.ReadMessage(this.HAJEJEFLKJD);
						continue;
					}
					if (num == 40U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 50U)
					{
						if (this.reward_ == null)
						{
							this.Reward = new ItemList();
						}
						input.ReadMessage(this.Reward);
						continue;
					}
					if (num == 104U)
					{
						this.NPNHJLGFMIM = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005783 RID: 22403
		private static readonly MessageParser<TakeExpeditionRewardScRsp> _parser = new MessageParser<TakeExpeditionRewardScRsp>(() => new TakeExpeditionRewardScRsp());

		// Token: 0x04005784 RID: 22404
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005785 RID: 22405
		public const int RewardFieldNumber = 6;

		// Token: 0x04005786 RID: 22406
		private ItemList reward_;

		// Token: 0x04005787 RID: 22407
		public const int HAJEJEFLKJDFieldNumber = 4;

		// Token: 0x04005788 RID: 22408
		private ItemList hAJEJEFLKJD_;

		// Token: 0x04005789 RID: 22409
		public const int NPNHJLGFMIMFieldNumber = 13;

		// Token: 0x0400578A RID: 22410
		private uint nPNHJLGFMIM_;

		// Token: 0x0400578B RID: 22411
		public const int RetcodeFieldNumber = 5;

		// Token: 0x0400578C RID: 22412
		private uint retcode_;
	}
}
